package com.archives.blog.common.enums;

public enum ErrorCodeEnum {
	
	SYSTEM_ERROR("10001","系统错误"),
	
	/** 参数非法*/
	PARAM_ILLEGAL("10403", "参数非法"),
	
	/** 数据不正确*/
	DATA_ILLEGAL("10500", "数据不正确")
	;
	private ErrorCodeEnum(String code, String errorMsg){
		this.code = code;
		this.errorMsg = errorMsg;
	}

	private String code;
	
	private String errorMsg;

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @return the errorMsg
	 */
	public String getErrorMsg() {
		return errorMsg;
	}
}
